﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using DapperExtensions.Mapper;
namespace LS.Entitys
{
    /// <summary>
    /// 组织机构角色管理
    /// </summary>
    [Table("sys_organizerole")]
    public class SysOrganizeRoleEntity:EntityBase
    {
       
        /// <summary>
        ///组织代码
        /// </summary>
        public string OrgCode { get; set; }
        /// <summary>
        /// 角色代码
        /// </summary>
        public string RoleCode { get; set; }
    }
    public class SysOrganizeRoleEntityMapper : ClassMapper<SysOrganizeRoleEntity>
    {
        public SysOrganizeRoleEntityMapper()
        {
            Table("sys_organizerole");
            AutoMap();
        }
    }
}
